import HashMap from '@ohos.util.HashMap'
import ArrayList from '@ohos.util.ArrayList'
//
// kxf   19/12/23 4:36 pm
//
export default class DataSource {
    name: string
    type: string
    api: string
    apiUnicode: string
    filter: FilterBean
    query: HashMap<string, string>


    result: any
}

export datasource = new DataSource()

export class FilterBean {
    where: HashMap<string, Operation>
    orderBy: HashMap<string, string>
    fields: ArrayList<string>
    limit: string
    field: string
    order: string
    lng: string
    lat: string
    type: string
    uid: string
    group: string
    returnTotal: number = 1
    page: number = 1
}

export class Operation {
    operation: string
    value: string
}

